package cn.codenest.util;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

/**
 * <h3>demo</h3>
 * <p></p>
 *
 * @author : Hyman
 * @date : 2021-07-06 12:07
 **/
public interface RbmqService {

    void sendDefaultDirectMsg(String msg) throws IOException, TimeoutException;

    void sendDirectMsg(String msg) throws IOException, TimeoutException;

    void sendTopicMsg(String msg) throws IOException, TimeoutException;

    void sendFanoutMsg(String msg) throws IOException, TimeoutException;
}
